package com.shoulder.core.enums;

public enum ApiCodeEnums {

    API_OK(200, "请求成功"),
    API_ERROR(400, "请求失败"),
    REFRESH_ERROR(1000,"刷新token失败"),
    ;
    private Integer code;
    private String message;

    ApiCodeEnums(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
